<div class="col-md-2">
	<div class="sidenav">
		<ul class="list-group">
			<li class="list-group-heading">单号管理</li>
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "index" }active{/if}"> 
				<a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i> 会员首页</a> 
			</li>
			<li class="list-group-item {if $Request.controller == "Order" and $Request.action == "buy" }active{/if}">
				<a href="{:url('goods/index')}"><i class="fa fa-shopping-cart fa-fw"></i> 购买礼品</a>
			</li>
			<li class="list-group-item {if $Request.controller == "Order" and $Request.action == "index" }active{/if}">
				<a href="{:url('order/index')}"><i class="fa fa-list fa-fw"></i> 订单管理</a>
			</li>
			<!--<li class="list-group-item "> <a href="/express/ulist.html"><i class="fa fa-list fa-fw"></i>导入记录</a> </li>
			<li class="list-group-item "> <a href="/goods/favorite.html"><i class="fa fa-star fa-fw"></i>我的收藏</a> </li>-->
		</ul> 
		<ul class="list-group">
			<li class="list-group-heading">任务管理</li>
			<li class="list-group-item {if $Request.controller == "Task" and $Request.action == "add" }active{/if}">
				<a href="{:url('task/add')}"><i class="fa fa-shopping-cart fa-fw"></i> 任务下单</a>
			</li>
			<li class="list-group-item {if $Request.controller == "Task" and $Request.action == "index" and $Request.param.type=="all"}active{/if}">
				<a href="{:url('task/index',array('type'=>'all'))}"><i class="fa fa-list fa-fw"></i> 任务中心</a>
			</li>
			<li class="list-group-item {if $Request.controller == "Task" and $Request.action == "index" and $Request.param.type=="user"}active{/if}">
				<a href="{:url('task/index',array('type'=>'user'))}"><i class="fa fa-list fa-fw"></i> 我的任务</a>
			</li>
			<li class="list-group-item {if $Request.controller == "Task" and $Request.action == "order"}active{/if}">
				<a href="{:url('task/order')}"><i class="fa fa-list fa-fw"></i> 我接的单</a>
			</li>
		</ul>
		<ul class="list-group">
			<li class="list-group-heading">用户中心</li>
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "recharge" or $Request.action == "recharge_bank" }active{/if}">
				<a href="{:url('user/recharge')}"><i class="fa fa-cny fa-fw"></i> 充值</a>
			</li>
			
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "rechargelist" }active{/if}">
				<a href="{:url('user/rechargelist')}"><i class="fa fa-rmb fa-fw"></i> 充值明细</a>
			</li>

			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "tixianadd" and $Request.param.type==1 }active{/if}">
				<a href="{:url('user/tixianadd',array('type'=>1))}"><i class="fa fa-rmb fa-fw"></i> 佣金提现</a>
			</li>
			
			{if $userinfo['u_sub']==2}
			<!--<li class="list-group-item {if $Request.controller == "User" and $Request.action == "tixianadd"and $Request.param.type==2 }active{/if}">
				<a href="{:url('user/tixianadd',array('type'=>2))}"><i class="fa fa-rmb fa-fw"></i> 分站提现</a>
			</li>-->
			{/if}
			
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "tixian" }active{/if}">
				<a href="{:url('user/tixian')}"><i class="fa fa-rmb fa-fw"></i> 提现明细</a>
			</li>
			
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "score" }active{/if}">
				<a href="{:url('user/score')}"><i class="fa fa-rmb fa-fw"></i> 资金明细</a>
			</li>
			
			
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "credit" }active{/if}">
				<a href="{:url('user/credit')}"><i class="fa fa-rmb fa-fw"></i> 积分明细</a>
			</li>
			
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "union" }active{/if}">
				<a href="{:url('user/union')}"><i class="fa fa-share-alt fa-fw"></i> 推广中心</a>
			</li>
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "sendinfo" }active{/if}"> 
				<a href="{:url('user/sendinfo')}"><i class="fa fa-address-card fa-fw"></i> 发件信息</a> 
			</li>
			<li class="list-group-item {if $Request.controller == "User" and $Request.action == "changepwd" }active{/if}">
				<a href="{:url('user/changepwd')}"><i class="fa fa-key fa-fw"></i> 修改密码</a> 
			</li>
			<!--<li class="list-group-item "> <a href="{:url('index/outlogin')}"><i class="fa fa-sign-out fa-fw"></i> 退出</a> </li>-->
		</ul>
    </div>
</div>